add favicon-inlining support

If a favicon was present in a `<link>` tag, garbage would be generated. This fix detects if the file in `href="..."` is a .ico or .png file and then base64-encodes it.