Update Server.php

Added the ability to set whether assets are returned securely or not by adding an 'ssl_enabled' flag to the app config file.