add log
 add middle server and fixbug of client, which nodelay was not enable