Validate server certificate

We have an easy MITM now. Fix this using requests.

Thanks to Erik Romijn for reporting this issue