ssl doesnt work too good apparently