Fix bug in Cowboy ssl init

Thanks to Fabian Schütz