Fixing hasBody check that didn't work when content-length was not defined.
Adding git ignore for IntelliJ project file
Merge pull request #839 from paulhill/master

Fixing hasBody check that didn't work when content-length was not defined