Joints with sleeve or socket with elastic sealing rings between pipe and sleeve or between pipe and socket, e.g. with rolling or other prefabricated profiled rings comprising a first ring being placed on a male part and a second ring in the sleeve or socket