TCP: add context type to rx and tx

Useful for debugging returned events
TCP: add closing queue for conns

Also, drain all endpoint queues when destroying the endpoint