Added connectionID arg for v0.10 compat. Also added default 'pathPrefix'.