Made SSL work again.
Move ipv6 to kwargs and add ssl param handling.
Added SSL parameter to config file.