Consolidated net.go, tcp.go and tls.go into server.go