fix cache statistics
support time-based expiration of partial messages
Merge pull request #2 from airbnb/pierre/expire_and_stats

Time expiration and fixed cache stats