Implemented PROXY v2 protocol (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) so that stratum can be run behind an haproxy instance.
iptables/ipset still work if haproxy is run on local machine. if run on remote machine switch to using client_block_ipset() and periodically sync the ipset to the machine running haproxy.
haproxy must be configured with send-proxy-v2, version 1 does not work
user password should contain "stats", made for ccminer 1.7.6+
will see to allow a special bench "test" account to allow devs to
easily test the stratum and fill benchmarks, for the moment, its
enabled while mining with the -p stats password option.
Todo: SSL RPC connections... user/pw vars may be required...
Also, update the make files and handle better the getwork client requests..
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>