Rewritten subscribe parameter parsing to solve issues in browsers.

See https://github.com/mcollina/mows/issues/17.