Fix Connection stderr redirect spec under Qt 5.3

* qDebug behavior has changed in Qt 5.3:
  https://codereview.qt-project.org/#/c/69731/