port from netty to nab