a simple http request class