Merge pull request #3 from uli-heller/master

Fix build issues and add a new config parameter 'userAgent' to proxy