Add logic to lock the nodes tables

when using httpd-2.4.x the node tables gets corrupted (basically more information from the
workers are in the shared memory so the optimistic logic doesn't work.
The lock will be used in mod_proxy_cluster.c