Improve coverage on src/common/tortls.c

The changes are in the branch "tortls_tests"

​​​​​https://github.com/twstrike/tor_for_patching/tree/tortls_tests

Trac:
Username: rjunior