Fixed incorrect validation of http request response status code

While using the library, I noticed it was not throwing any exceptions on invalid response status codes. There was an erroneous if-clause that would always validate to true, no matter the actual code - it's now fixed.

Regards,
Felipe Kurkowski