Fix bug where url or -X flag is quoted