Hello Moses,
there is indeed something fishy there. Immediately before accept(), totalFreeSize tells me 0xec898. After returning from accept 0xe8888, before shutdown() 0xe8888 unchanged and after shutdown returns, 0xea890.
The allocation makes sense for send/receive buffers of 8192 Byte each. However, only half of the space is freed by shutdown().