More improvements.

1. Added TcpConnector.
2. Added more examples.
3. Many bug fixed.
4. More improvements.