OTSocket Rework (prep for ZeroMQ v4).

Reworked the two OTSocket classes into one class that is used by both the server and the client.