Is there any method in twisted that does proper url encoding? For example 'http://www.example.com/part1 part2.html' -> 'http://www.example.com/part1%20part2.html'