Client: added parameter contextFactory for SSL clients
Client: added support for basic HTTP authentication via credentials
Client: added connection timeout
Client: fixed docstring