use the new rust-url library to parse location-based headers

includes a very basic test