Implemented close connection - works
Implementing buffer for out of order packets.