so you'd get something like { host: 'server.com', 'pathname': 'foo' }