Fix: response.status_code is an int not a string

Also added the response reason in the error message.
Merge pull request #18 from CedricSchmeits/master

Fix: response.status_code is an int not a string