Clean some trailing whitespaces
Add userAgent and referer, should fix #2
Merge pull request #3 from piradoiv/feature/user-agent

Add support for setting user agent and referer