Qt 4 fixes.
_always_ and can only be built with multithreading enabled. http://doc.trolltech.com/4.1/qt4-network.html#comparison-with-qt-3
dependencies.
Patch from Juergen Hunold.