unix: add tcp-queue-order test

Checks if the write callbacks are called in the same order as the
write requests were queued.
fix test for different sized os tcp recv buffers