Fix debug printing compilation - iapp size is size_t, we're printing an
int, be slack and typecast to said int.
Add support for clients reading.

Yes, I should really just merge clt/srv into one test client that can
do incoming or outgoing connections and schedule reads or writes
as appropriate. Guess I'll do that today.