Merge pull request #7 from andreasolund/set-statuscode

Added setter for statusCode
Fix a typo in the API doc
Merge pull request #8 from vicb/patch-1

Fix a typo in the API doc