add option to build standalone server, merge main_net/engine_net.c with main/engine.c