-Fixed a small bug in the connect and messagehandler when not creating
  a new handler for existing server.