There should probably be `url.toEncoded()`