http://127.0.0.1:10100/relative_import.html  s:http h:127.0.0.1 port:10100 p:/relative_import.html

http://127.0.0.1:10100/relative_import.html  s:http h:127.0.0.1 port:10100 p:/relative_import.html
http://facebook.com/?foo=%7B%22abc%22  s:http h:facebook.com p:/ q:?foo=%7B%22abc%22

Add test for recent urlencoding bug
Add test for recent urlencoding bug
