add helper method to unpack packed http request passed from dealer