Fixed dispatching of IMCMessages in TCPProtocol.