[#4] Use erlasticsearch as a reference and adapt it to work with HTTP

Missing space after "," on line 195