Cleaned up HTTP logging.

Removed sending error to client, slightly improved error logging.
Minor changes to logging in router.