Merge pull request #5 from csimsek/master

http_post example usage, thanks @csimsek
Merge branch 'master' of github.com:csimsek/pgsql-http into close
Fix tabs/spaces formatting
Use a static buffer for string building
Free the curl slist after completing
Catch curl errors more consistently