Truncate the serialization in Url::take_after_path, discard empty seg… …
…ments in PathSegmentsMut::extend. Fixes #222