fix tcpsocket close event bug

Change-Id: I16c15916c49c6dc4ae6d8d7bc596df08da21aa14
fix error handle bugs

Change-Id: Icbc1e695e8b81843125d7981abb05f8e20f1dfc8
update to 0.3.8

Change-Id: I0fd061aec947a9b0e07b091d32c073ff59be3483
fix configure bug

Change-Id: I45bd0ebdc4ef7942ff2d7042524927bbcbd6c069
upgrade to 0.3.9

Change-Id: I1020d328013318984a05c6b29daf2c37256c3a76
Merge pull request #2 from NetEase/master

sync