rewrite http_get with the new command detection.