Improved connection handling. Added event, fired when tcp/tls connection established.