Setting this.upgrade to false in the constructor, so that isClosed does not always return false

Phil,

I just discovered this issue tonight.I have my custom serialization handler, however, the default handler was always invoked. After some digging I found that was due to REST.isClosed() returning false because REST.upgrade is undefined.

Thanks,
--aydan