Use constant time string comparison to avoid timing attacks.

Inspired by [twilio-java/#158](https://github.com/twilio/twilio-java/pull/158) (and [twilio-ruby/#116](https://github.com/twilio/twilio-ruby/pull/116)).

This is my first PHP for a long, long while so be gentle!