Support controllers actively connecting to the switch

Motivated by FlowForwarding/LINC-Switch#147.