Add send_http_reply() utility method