SSL Support, fixes