Modify fix to allow for backwards compatibility.
Modify fix to allow for backwards compatibility.

The fix for #243 needs to check if the new API call exists and use
the correct call based on the Node version.

- tls.createSecureContext will work for Node versions >= v0.11.14
- crypto.createCredentials will work for Node version < v0.11.14
pekim/tedious,spanditcaa/tedious,tediousjs/tedious,Sage-ERP-X3/tedious,tediousjs/tedious