auto-reconnect: add auto reconnect feature
client: add interface to pomelo.h
client: do some optimization
client: fix pc__client_reconnect bug
Merge branch 'master' into debug
*: initialize state_mutex
Merge pull request #55 from herofj/auto-reconn

auto-reconn: fix bug that state_mutex is not initialized
Merge branch 'master' into auto-reconn
reconn: randomize the delay for reconnecting back off
Merge branch 'master' into auto-reconn

Conflicts:
	.gitignore
Merge branch 'master' into auto-reconn