Add support to binding client to interface.

Addition of support for binding to interface when running as a client.