Connection: close header for many bulk requests.

Say server to close connection after http_get or http_post call. Without this PostgreSQL eats all client socket ports and we are getting connection timeout error.