BUG/MINOR: Reset errno variable before calling strtol(3)

Sometimes errno != 0 before calling strtol(3)

[wt: this needs to be backported to 1.7]
diff --git a/src/server.c b/src/server.c
index f23b938..0decb82 100644
--- a/src/server.c
+++ b/src/server.c
@@ -2814,6 +2814,7 @@
 		port_change_required = 0;
 
 		sign = *port;
+		errno = 0;
 		new_port = strtol(port, &endptr, 10);
 		if ((errno != 0) || (port == endptr)) {
 			chunk_appendf(msg, "problem converting port '%s' to an int", port);