Specify socket.io's resource with a regular expression