A Simple router for http requests in node using regex