Fixes #78 - Set content-type, content-length header