Remove TCPSocket and use MessageProcessor instead

I will also fix doc typos in MessageProcessor. Will I do it in this branch or on master?