Support PolarSSL v1.1.x and v1.2.x