net/url.URL wrapper implementing the YAML interface