Modified the accept network connection. Previously a null pointer was used, causing
a crash.