Add nginx-like logging to connection dispatcher