added host selection
Merge branch 'master' of https://github.com/spMatti/pouchdb