Extend DTLS method macros.

Extend DTLS method creation macros to support version numbers and encryption
methods. Update existing code.
diff --git a/ssl/d1_meth.c b/ssl/d1_meth.c
index 5c4004b..0470624 100644
--- a/ssl/d1_meth.c
+++ b/ssl/d1_meth.c
@@ -70,8 +70,10 @@
 		return(NULL);
 	}
 
-IMPLEMENT_dtls1_meth_func(DTLSv1_method,
+IMPLEMENT_dtls1_meth_func(DTLS1_VERSION,
+			DTLSv1_method,
 			dtls1_accept,
 			dtls1_connect,
-			dtls1_get_method)
+			dtls1_get_method,
+			DTLSv1_enc_data)