[PATCH 5/6] hnetcfg: Open connection to gateway in init_gateway_connection().