Added a chan to separate out TCP socket read and message processing.