Implement API for externally configuring connection to a contoller

This API should be used to change the client config via OF-Config.

(Motivated by https://github.com/FlowForwarding/LINC-Switch/issues/319).