Refactor: extract a HttpRequestLight class