patched resolverfactory to properly strip hg+ from ssh request