Adding -k and -1 commandline parameters to mimic curl options