Added an optional dictionary of HTTP header fields and values to send with an http request