Validate SQL before proxying
Merge branch 'validate_sql' into gazComp