Flexible socket with rigid sockets ends