pass relay_socket as socket to client initialisation