nio with long connect like netty