Add support for HTTP Basic Authentication

To specify a user or a password just add them to the server url using the following syntax http://user:password@example.com:9200.