Instantiate a new HttpRequest object.
the target request url
the request method to use
an associative array with request options
Throws HttpException.