simple http client implemented