autoimport: support protocols besides http