Simple HTTP router with promises support