simple http server implements get method.