Add support for SSL domains and add support for path prefix