Implement content-type detection for http Request

* reworked internals a bit to allow for it