publicly expose connection states

closes #1585