When the error below appears wouldn't the proper response be a 500 server error? The 3.4 way of handling this is to return nothing.
Error: tclop: invalid return code from filter proc 'Critical filter sec_read_security_info failed.': must be filter_ok, filter_return, or filter_break