examples/client: receive data from the passed file descriptor