A simple framework for tcp clients interacting with command/response servers which may also push messages