first stab at implementing ssl verification option

I think this will already do the trick. Does it need a separate test you think? I guess you would need a broken SSL implementation that is always available to really test it, seems... difficult.