Allow multiple keys for query to http

POSTing multiple keys allows for large specific queries to CouchDB
Sorry for coding style (again)

I don't know a nice way to write in the style of the code already in the function. Please help me on this. What blocks me from bigger rewrites is that I could not get the build script to work on my Mac.