Remove intermediate RWSocket class. Now all common logic is available on Socket class.

This is internal change and should not affect public api.