Socket transport implement based on java nio