restructure nio server, client;merge into niosockcontroller.

Signed-off-by: charlown.cai <charlown@163.com>