Fixing hasBody check that didn't work when content-length was not defined.
Adding git ignore for IntelliJ project file