Merge pull request #4 from yifan-gu/master

 	add server.close
finish reconnect