netty nio & dao update

protocol envention needed.