Fix HTTP POST error handling and correct typos
Merge pull request #5 from burke/master

Fix HTTP POST error handling and correct typos