req.setEncoding isn't a method. It should be in headers.
Default body arg
Merge pull request #5 from kevinmctigue/patch-1

Small fixes