Compact TLS connection input buffer after reading full record.

- Addresses #88.