added todos, better handling for messages, keeping headers and content in the cache now