MINOR: standard: Disable ip resolution during the runtime

The function str2net runs DNS resolution if valid ip cannot be parsed.
The DNS function used is the standard function of the libc and it
performs asynchronous request.

The asynchronous request is not compatible with the haproxy
archictecture.

str2net() is used during the runtime throught the "socket".

This patch remove the DNS resolution during the runtime.
diff --git a/src/standard.c b/src/standard.c
index 89af08f..d435c3c 100644
--- a/src/standard.c
+++ b/src/standard.c
@@ -809,7 +809,7 @@
  * is optionnal and either in the dotted or CIDR notation.
  * Note: "addr" can also be a hostname. Returns 1 if OK, 0 if error.
  */
-int str2net(const char *str, struct in_addr *addr, struct in_addr *mask)
+int str2net(const char *str, int resolve, struct in_addr *addr, struct in_addr *mask)
 {
 	__label__ out_free, out_err;
 	char *c, *s;
@@ -834,6 +834,9 @@
 	if (!inet_pton(AF_INET, s, addr)) {
 		struct hostent *he;
 
+		if (!resolve)
+			goto out_err;
+
 		if ((he = gethostbyname(s)) == NULL) {
 			goto out_err;
 		}