protected Integer getLocalPort(ChannelHandlerContext ctx) {
            return ctx.channel()
                    .attr(SourceAddressChannelHandler.ATTR_SERVER_LOCAL_PORT)
                    .get();
        }
User: michaels@netflix.com
Date: 4/14/16
Time: 3:51 PM
zuul-core/src/main/java/com/netflix/netty/common/accesslog/AccessLogChannelHandler.java