quick server framework. add flask's style route to tcp/udp server.