Added better error handling & http status code support
Fixed uninitialized constant issue with errors
Bumped gem version