* make server_getln return the number of bytes it read