Added Connection.on_connect mechanism.