Add missing r/w barrier to @socket in RemoteViaSocket

fixes occasional nil error, due to missing socket