Added onConnected to DefaultURLConnector