fix elasticsearchrelation and httprelation
Merge pull request #15 from rogpeppe/016-fix-elasticsearch

fix elasticsearchrelation and httprelation