MINOR: connection: prepare hash calcul for server conns

This is a preliminary work for the calcul of the backend connection
hash. A structure conn_hash_params is the input for the operation,
containing the various specific parameters of a connection.

The high bits of the hash will reflect the parameters present as input.
A set of macros is written to manipulate the connection hash and extract
the parameters/payload.
diff --git a/src/connection.c b/src/connection.c
index fc605f9..f5dbffb 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -1411,3 +1411,16 @@
 }};
 
 INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws);
+
+XXH64_hash_t conn_calculate_hash(const struct conn_hash_params *params)
+{
+	char *buf;
+	size_t idx = 0;
+	XXH64_hash_t hash = 0;
+	enum conn_hash_params_t hash_flags = 0;
+
+	buf = trash.area;
+
+	hash = conn_hash_digest(buf, idx, hash_flags);
+	return hash;
+}