Fixed controller connection replacement

When replacing controller connection, update connection
protocol type as well.

Fixes FlowForwarding/LINC-Switch#74