HAProxy over Elasticsearch Cluster

Hi,

We have currently single node ES server and need to put 2 more servers (making total 3) - forming 3 node ES Cluster - all having master and data node capabilities.

As we don't want our applications to change host names, can we put HA Proxy in front of it ? If yes, please point to recommended HAProxy config and if no, please suggest alternatives.