Simplify the build system and switch to pure Cargo.

I've removed the complexity surrounding optional SSL in favour of Cargo.

Let me know what you think of this approach.