Properly propogate errors
Add a configure option for SSLv2 support
Remove unneeded libextra dependency