iri_to_uri should be unicode/bytes -> native
Use assert methods in urls tests
Fix urls iri test cases
Fix idna hostname encoding
Merge branch 'urls' into sprint-branch