Added SSL support

TODO: respect current scheme when opening new links