Merge pull request #35 from pitr-ch/refactor

Add missing r/w barrier to @socket in RemoteViaSocket