Refine logging in http1connection.py.

Exceptions raised by delegate methods go to app_log; all others to gen_log.