Extend ObjectInputStream to supply a classloader for deserialization.