Adding expiration checks and an upload-date check for heartbleed