client & server communication framework base on java nio