tcp: add more log && bug fix
test: add server code to test
lib: introduce set log level
tls: fix bugs && more log output