unix: add tcp-queue-order test

Checks if the write callbacks are called in the same order as the
write requests were queued.