Fix compiling against openssl 0.9.8

TLSv1.1 and TLSv1.2 are not supported in this version
Merge pull request #20 from aclemons/openssl-0.9.8

Fix compiling against openssl 0.9.8