Openssl102

Backport "custom extensions" and "serverinfo" support from master.