resolve circular reference

- SSL_CTX is used in deimos.openssl.ssl where the
  definition of ssl_ctx_st is located too.

- this broke with dmd 2.066.0
fix const on return type

- const applies to return type not the function
Merge pull request #23 from MartinNowak/master

fix some compilation issue with 2.066.0