Add simple examples of creating tcp/udp service with `net` and `dgram`