First, trivial connection handling.