Move the SSLv3 crypto code into the new record layer