Updated dynamic support to work with non-HTML based pages
Added wrappers for text and binary pages.
Added initial media type detection.