Cleanup old support for pre PolarSSL 1.0.0
Some cleanup of SSL handling. Remove stuff related to pre PolarSSL 1.0.0.