Break routes into httpRoutes and socketRoutes