Added HTTPS support.
Added setHTML to the list of known API methods.