PHP5 Library for validating X.509 certificates (SSL), implemented PHP only