Implement TLS. Fixes newrelic/centurion#70