Extract socket manipulation into separate class SocketSingle.
SocketSingle is nonblocking socket by default.
Fix naming private members.