@Override
        public Serializer getSerializer ( Class cl ) throws HessianProtocolException {
            Serializer serializer = super.getSerializer(cl);

            if ( serializer instanceof WriteReplaceSerializer ) {
                return UnsafeSerializer.create(cl);
            }
            return serializer;
        }
{@inheritDoc}

@see com.caucho.hessian.io.SerializerFactory#getSerializer(java.lang.Class)
src/main/java/marshalsec/HessianBase.java