Set callback functions to receive the HTTP response as it comes through.