Adds gettimeofday based on tm_timestamp
Merge pull request #9 from tessel/tcr-checkcert

Supports SSL.