refactor

1. Runnable network testcase. both sync and async.
2. Obsolete delegate using in netiomux. replace with callback interface.