Messenger lock added
ClientHandler reconnect logic
hacky reconnect routines implemented; untested