[Elasticsearch] Use the primitive<T> protocol template
[Urlfetch] Use the primitive<T> protocol template.
Merge pull request #41 from noxiouz/fix_es_build

Fix Elasticsearch and Urlfetch