Implement URL parsing for the HttpClient

this is still only one step better than a stub