Updated network functions in accordance with the new EventEmitter structure and updated HelloServer example