add network listening & tests

R=r,presotto
OCL=15410
CL=15440
diff --git a/src/runtime/proc.c b/src/runtime/proc.c
index 6a741f8..62efd45 100644
--- a/src/runtime/proc.c
+++ b/src/runtime/proc.c
@@ -78,7 +78,7 @@
 	byte *p;
 
 	sched.mmax = 1;
-	p = getenv("gomaxprocs");
+	p = getenv("GOMAXPROCS");
 	if(p != nil && (n = atoi(p)) != 0)
 		sched.mmax = n;
 	sched.mcount = 1;