Better error handling and logging
Add debug mode
Improve handling of missing/invalid URL parameters
Add server spec script
Add spec template for webhook controller