Add missing r/w barrier to @socket in RemoteViaSocket