Changed SSL Flag to support SNI (doesn't seem to work without it.