Added some new methods

Added a CheckMessageToSend, this will detect if the user is typing on
the client side if so it will queue up messages instead of interrupting
their typing by issuing data to the client.