haproxy, fix bug when pulling from the socket