Merge "Support determining the call direction for existing connections." into qt-dev