FS-6204 refactor some dtls code to generate a 1024 bit cert suitable for dtls in all version of chrome