Added validation of secure connection.
Fixed little error in package.json.