Remove OpenSSL dependency

This patch removes everything related to OpenSSL, since it's not needed anymore.

Patch by Sebastian, btw.

FWIW, I've already tested this.