Authenticate the response to the IP request
Refactor the http and hmac code