make example server work by requiring `net` module