Handle socket-level errors by logging them.
Remove stathat and erldns_metrics.
Add events on UDP and TCP requests. Handlers can be added
to measure and log.
Fix packet caching and add additional events.