Fix 'secure' option (secureConnection was used in the code). Bumped versio to 0.1.7