Login will call disposed when called to clean up and previous calls
Added asynchronous Task wrapper for the Connect method.
OnDisconnected will now carry a value indication whether the events should be disposed, it can be set by the subscriber.
Dispose will reset the cookies.
If a packet with the header 4000 is received, it will call the Disconnect method.