Allow specifying host, port and authentication when creating a handle