Added support to run the mock service on SSL. Important for browser-based consumers.