Implement hash functions for axTLS
Merge secure cookie support from kernelsauce/turbo master.