Fix QTcpSocket code on Qt4 (SIGNAL/SLOT macros are not type aware).
Update ABI version for Qt5 porting changes.