Ssl on the fly

This change adds
* proxy.onCertificateRequired - enables hooking the certificate files search. It allows, for example, a wildcard certificate name computation based on hostname.
* proxy.onCertificateMissing - allows certificate to be signed on the fly, stored and returned.