Fix for Post without content body throwing 411: Length required

Following this lead: https://github.com/dotcloud/docker/issues/307

I was able to work around this bugfix also for #7
More content length checks
Update package.json
Merge pull request #8 from raulsanchezok/patch-1

Fix for Post without content body throwing 411: Length required