Moved defaults for socket into socket class.
Removed mutex from socket.
Removed socket default class.
Removed unused socket init.
No need to terminate for no config.
No need to have a check for has context.
Removed Socket_ZMQ4 and moved in logic into OTSocket.
Moved member variables last in socket.
General cleanup.
Removed IsInitialized from OTSocket API.
Automatically init the socket.
Always create a context for the socket.
Remove IsConnected from Socket API.
Removed IsListening from Socket API.
Simplifications and cleanup.
Keep the same context all the time.
Cleanup and removal of unnecessary checking of existing context.
No need to terminate when return false is enough.
Moved creation of socket into member-init-list.
Removed CloseSocket and merged content with dtor.