add support for download, and respond to GET, and url encode config path and filename to make a valid url, and decode on download
encode/decode round trip test
Merge pull request #10 from jay-hodgson/release-1

SWC-1849: support download (also post so that credentials are in the request)