Fix an occasional crash when resolving a server name
Fix an occasional crash when resolving a server name

Closes #149.

Fxrh/libqmatrixclient,QMatrixClient/libqmatrixclient,QMatrixClient/libqmatrixclient