Use SSLContext methods instead of openssl directly
Use SSLContext methods instead of openssl directly

Summary:
Just realized that SSLcontext has the same methods
that I was using from openssl directly. Use them
via SSLContext instead

Test Plan: Unit tests. Run Loadgen

Reviewed By: alandau@fb.com

Subscribers: alandau, ssl-diffs@, seanc, yfeldblum, arunm, avr

FB internal diff: D2369025

Signature: t1:2369025:1440180181:876a8486382c2ba6f6c5922d6e56236d14568b31

HankFaan/fbthrift,SergeyMakarenko/fbthrift,facebook/fbthrift,SergeyMakarenko/fbthrift,getyourguide/fbthrift,LinusU/fbthrift,raphaelamorim/fbthrift,sinjar666/fbthrift,maxwell-demon/fbthrift,LinusU/fbthrift,sinjar666/fbthrift,sinjar666/fbthrift,maxwell-demon/fbthrift,facebook/fbthrift,raphaelamorim/fbthrift,LinusU/fbthrift,guker/fbthrift,Orvid/fbthrift,maxwell-demon/fbthrift,raphaelamorim/fbthrift,maxwell-demon/fbthrift,getyourguide/fbthrift,guker/fbthrift,raphaelamorim/fbthrift,facebook/fbthrift,guker/fbthrift,sinjar666/fbthrift,getyourguide/fbthrift,maxwell-demon/fbthrift,Orvid/fbthrift,guker/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,SergeyMakarenko/fbthrift,SergeyMakarenko/fbthrift,sinjar666/fbthrift,facebook/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,Orvid/fbthrift,facebook/fbthrift,raphaelamorim/fbthrift,LinusU/fbthrift,getyourguide/fbthrift,Orvid/fbthrift,maxwell-demon/fbthrift,maxwell-demon/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,LinusU/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,getyourguide/fbthrift,sinjar666/fbthrift,getyourguide/fbthrift,LinusU/fbthrift,getyourguide/fbthrift,Orvid/fbthrift,sinjar666/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,guker/fbthrift,raphaelamorim/fbthrift,getyourguide/fbthrift,SergeyMakarenko/fbthrift,maxwell-demon/fbthrift,facebook/fbthrift,guker/fbthrift,facebook/fbthrift,guker/fbthrift,SergeyMakarenko/fbthrift,SergeyMakarenko/fbthrift,LinusU/fbthrift,maxwell-demon/fbthrift,Orvid/fbthrift,HankFaan/fbthrift,raphaelamorim/fbthrift,raphaelamorim/fbthrift,guker/fbthrift,HankFaan/fbthrift,Orvid/fbthrift,LinusU/fbthrift,LinusU/fbthrift,sinjar666/fbthrift,guker/fbthrift,raphaelamorim/fbthrift,SergeyMakarenko/fbthrift,guker/fbthrift,HankFaan/fbthrift,maxwell-demon/fbthrift,maxwell-demon/fbthrift,HankFaan/fbthrift,sinjar666/fbthrift,HankFaan/fbthrift,raphaelamorim/fbthrift,LinusU/fbthrift,guker/fbthrift,Orvid/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,LinusU/fbthrift,raphaelamorim/fbthrift,facebook/fbthrift,SergeyMakarenko/fbthrift,sinjar666/fbthrift,facebook/fbthrift,sinjar666/fbthrift