elasticsearch: Ported requests connection class to requests_futures

* Based heavily off the requests connection class in elasticsearch-py;
  have added appropriate copyright notices.

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>