Improvements to support data transfer benchmarking

Hi Vincent,

I extended your tool for use of data transfer benchmarking, and improved a few other things along the way:

- Added a data transfer benchmark mode
- Enabled TLS 1.2
- Obtain named curve from the certificate file
- Disabled compression
- Calculation of TLS record overhead

The command line user interface is not the best, but it serves the purpose.