Add more assertions/messages to help catch TCP stack crashes on 8088 machines when socket closes early, dirStack fails at root, and mkdir fails.