dtls: add support for pre master secret file

This adds support to read the pre master secrets from a log file like
it is supported for SSL/TLS.