Implement API for externally configuring connection to a contoller

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