Add memory usage component

Fixes #2
Send headers correctly
Default to text/html for Content-Type