Send only the path and the query when making HTTP requests
Deal with empty url.path
Merge pull request #38 from kmcallister/for-upstream

Fixes for request path handling