Merge pull request #6 from mogadget/master

set content-type to 'application/json
Added statusCode property to HTTPResponse