HTTP request class implementation