Changes to make it work behind a bluecoat proxy - added a user agent, and changed url scheme
Merge pull request #1125 from msilvoso/master