update code

1. add tcpserver class end point timeout close logic
2. redisclient class, add error log
3. add xml codec class error log