fix STS/GGTS compilation error by importing java.net.Proxy
Partial fix for GRAILS-9996: Adds generic type parameter for DetachedCriterias in DetachedCriteriaTransformer