Adds the use of r_socket implementation