crypto: move DEFAULT_CIPHERS, DEFAULT_ECDH_CURVE

Move `DEFAULT_CIPHERS` and `DEFAULT_ECDH_CURVE` from `tls` module into
the `crypto` module. Make `crypto.createCredentials` use default values.

fix #7249