Use XMPP Ping (XEP-0199) instead of white space ping for keep alive. [#15]
This patch introduces the use of XMPP Pings (defined in XEP-0199) for pinging
the server instead of just sending white space messages to keep the connection
alive through NAT routers.
It also adds the feature of disconnecting if three pings in a row are sent
unanswered.
[#15 tagged:committed responsible:Hallski state:resolved]
committer: Mikael Hallendal <micke@imendio.com>
Mikael Hallendal <micke@imendio.com>