Fixed console.log to trace
Write content-length and content-type headers in http response to :db/fs requests.