just a kludge to get running on an ubuntu with a dodgy ssl stack