WIP return values from read_nonblock + tcp_read