obtain peername when calling accept(2), since it is used more than once for logging requests in persistent connection or HTTP/2