support for tengine stable.

    Check type of resolver_ctx->addrs.
    
    Check the type of resolver_ctx->addrs and make sure that it is
    ngx_addr_t* instead of in_addr_t*. addresses issue #839

see issue #839 for details.