Updated gen_dh_params to support specifying a number of bits -- currently the only supported value is 2048