Better abstract PRF and verify data length.

- Base PRF on security parameter value.
- Specify verify data length in cipher suites.
- Move utility/helper functions to end of file.
- Read signature and hash algorithms vector in version TLS 1.2+.