connection protocol stuff.

working on resent packets.
disconnect, connection, blocking fixed.