raw request auditing, logging improvements, error handling improvements