Removed old debug message.
Added ssl support.