Fixed TLS PRF implementation and added a sample