Some more style changes
Use nodeId instead of id
Add ASSERTs again
Sent non-IP hostname as a last hostname too (these are the user-supplied ones)
Handle disconnects during connection attempts (i.e. vanishing connection objects)
Add a bit of logging to XmppMessage serialzation
Add more logging to connection handling
Remove assert and fix logging
Add more verbose logging
Refactor the creation of local SipInfos into its own method
Add const to arguments in getLocalSipInfos
Lazily create ControlConnection for offers
Split up log messages to know the real cause
Make more use of peerInfoDebug
Only destroy existing ControlConnection if it does not run anymore
Sent old tomahawk versions SipInfos like before.
For old clients, just connect if the magic sort says we should.
More logging to find error causes
Do not delete the Connection in Socket cleanup, we take care of this at another stage.
Connection should be able to shutdown even if the socket already disappeared