get around issue 346 by giving a content-length header to non-post and non-post requests
Merge pull request #361 from howonlee/nginx-reverse-proxy-error

did issue 346, added content-length to request headers