[#127] Handle API error codes

* Extend HTTP status codes to represent custom statuses.
* Display localized messages upon errors.
* Do not read the input stream if the status is not 200.