backported
HORNETQ-905 cannot getObject when sending java.lang.reflect.Proxy
object