A simple http client to handle Rest call