Remove HostContext and use HttpContext directly