Minor cleanup.
Add size and timestamp to transcodings so we can clean up easier.
Move cache handling to separate class.
Add HTTP authentication support.