clean up typeFilter, fix lowercased external URLs

* Added better support for detecting `Content-Type`s (namely for `doc`, `js`, and `oth`) and not failing on `Content-Type`s with `charset`s
* Fixed bug for external URLs (external HAR URLs were getting improperly lowercased)