better handle of trust
brought back the connection delegate