Added a message handler class, to handle TCP communications with a bot (TCP client).