implements the new algorithm with puesdo memento headers for non-native resources. adds support for datetime html attribute