(pouchdb/pouchdb-server#67) - Support http-pouchdb objects 

Based on top of the profiles PR (#155) to hopefully prevent conflicts.

The changes necessary to support a proxying pouchdb-server. (Which uses [http-pouchdb](https://www.npmjs.com/package/http-pouchdb).)