implement HttpRequestImpl class