If server returns http error code, read response body and return it in exception message