various tweaks.
diff --git a/src/lib9/dial.c b/src/lib9/dial.c
index fa19cce..99d3799 100644
--- a/src/lib9/dial.c
+++ b/src/lib9/dial.c
@@ -12,6 +12,7 @@
 
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <netinet/tcp.h>
 #include <sys/un.h>
 #include <netdb.h>
 
@@ -68,6 +69,10 @@
 		close(s);
 		return -1;
 	}
+	if(proto == SOCK_STREAM){
+		int one = 1;
+		setsockopt(s, IPPROTO_TCP, TCP_NODELAY, (char*)&one, sizeof one);
+	}
 	return s;
 
 Unix: