web: fix socket connect args to use path as opt