fix http_connection_send_error() when there is no error message