cfunction (net/chunk stream nbytes &opt buf timeout) Same a net/read, but will wait for all n bytes to arrive rather than return early. Takes an optional timeout in seconds, after which will return nil.