URL quoting via urlsplit

This is a follow up to #40 that's implemented using urlsplit and should work for Python 3 whenever Twisted ends up supporting it.