Added CRTP interface classes for TCP sockets.