Add the connectionStartWithTag function,
A few bug fix.