Added a helper method for setting the message client host