add a test demo for libnet
improved the connector write interface
add function for Connector
improved dispatcher
fixed bug of deal with async write
improved Connector module and Dispatcher module