How nginx processes a TCP/UDP session