Added openssl dependency, added tls parameter to data sending methods