Use macro conditional to change to errorOccurred from error
Use macro conditional to change to errorOccurred from error

Qt 5.15 and above has deprecated QAbstractSocket::error in favor of
QAbstractSocket::errorOccurred

caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch