trac #39: allow fd 0 for connection

Reported (with fix) by Martijn The http://libwebsockets.org/trac/ticket/39

Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c
index 661876e..49ae8e0 100644
--- a/lib/libwebsockets.c
+++ b/lib/libwebsockets.c
@@ -113,7 +113,7 @@
 	}
 
 	assert(wsi);
-	assert(wsi->sock);
+	assert(wsi->sock >= 0);
 
 	lwsl_info("insert_wsi_socket_into_fds: wsi=%p, sock=%d, fds pos=%d\n",
 					    wsi, wsi->sock, context->fds_count);