Remove TCPSocket and use MessageProcessor instead

Will revert. It was for testing domain resolving.