If send(n) returns <n, try again instead of failing
split send_msg's >8k into <8k "partial" chunks