controller.py: clear pending packets on disconnect.

cxn.py: store switch addr to detect when switch has disconnected and
reconnected.
2 files changed