Allow InstrumentationSavingAgent to be used with the Attach API

See https://jira.springsource.org/browse/SPR-11083