Changing rest api to support getting node info from haproxy header.