Removed crash at connection close.
Simplified the TCPConnection. Removed a LOT of unnecessary stuff.
Corrected the TCPConnection disconnect on client side.