Fixed #16: support multiple elasticsearch urls

The purpose of this code is check, then `url` is not string. Is it?
So, may be you should do something like `isinstance(url, str)`?