Added optional prefix parameter to the Elasticsearch API URL.

In our setup the elastic search API is only accessible within an additional path prefix (e.g. '/elasticsearch/'). I therefore added an optional prefix parameter to the check.

If you think this feature is of general use, feel free to integrate it.