Added the non-blocking method of connecting to the client.

This should work. I could only test it on our Ubuntu server, but it
works great over both IPv4 and IPv6 as far as I have been able to test.