Move netty true/false check to DedicatedServer

Signed-off-by: Steven Downer <grinch@outlook.com>