Make all sockets non-blocking.

This should make it easier to use the library.