bugfix: socket.write return true when success
add some check for pthread api
bugfix: don't use table.insert when nil can be insert
bugfix: clear connected flag when update address
remove some unused code
fix typo
simple reconnect support
change function name
push message back to queue before harbor connect to master
bugfix: kqueue api
add block connect for harbor
bugfix: Issue #37
bugfix: Issue #38
remove debug line
Never throw error when sending message to invalid address
trace throw error instead of assert in C
remove so
fix issue #39
fix issue #39
function:current time