Fix NPE in netty proxy