read http headers and filter out text/html documents