Added host resolving

Added openssl linkage