Moved common request/response code into HttpMessage