Add headers to request if in options

This is needed to overwrite User-Agent, Referer etc. to bypass hot-linking protection or user agent filtering.