Working client. Using select module. Only Linux.