Distinguish requested connection from onConnect event via string