(Android) allow optional DTLS

This is needed for interop with desktop browsers, as in https://github.com/joseph-onsip/sipjs-cordova

I'd offer an iOS fix as well, but I don't have an environment set up for that.