Added optional SSL and BasicAuth configuration.
Added documentation and example configuration for setting up SSL and BasicAuth.