Allow options to be passed in a request object to elasticsearchclient. If no options are passed in the request, elasticsearchclient is smart enough not to choke on a value of `undefined`. Including this feature allows URL parameters like `search_type` to be passed to elasticsearch.