web: fix socket connect args to use path as opt

I haven't tested this for secure websockets yet.