Switching the method to send command to haproxy