Send tftp error on http errors
Add acceptance test for url hook
Improve logging