added http_code and error message

->http_code for last http_code
->error_message for last error message