Use the specified hostname, port, and path.
Use the more flexible URL parsing function.