Remove TCPSocket and use MessageProcessor instead

All fixed.