Add new pkg ssh command which will serve packages over ssh
Refactor a bit fetch interface to make it reentrant

This is necessary for upcoming ssh support
Preliminaty support for ssh:// packagesite