Add ability to capture mime-type and encoding when InputStream is generated from URL via GET of POST