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