Bring WAMP URI checking in line with the spec (fixes #256)