Switching from get_unused_port to bind_unused_port in ClientTextMixin class.

bind_unused_port guarantees that it will find an unused port for testing purposes.  get_unused_port was causing tests to fail due to a port already being in use on a development machine (in this case, a mac running osx 10.8).