A simple proxy script to communicate with CouchDB using PHP