Remove double-slashes when looking for a servlet

If the HTTP path starts with a double-slash, like "//debug/toto", the
urlparse() method was considering "debug" as a network location, not as
a part of the path.