[core] remove repeated slashes in http-parseopts