Merge pull request #33 from willist/feature/security_checks

Factor out common security checks as includes.
Add preliminary ssh brute force test.
Merge remote-tracking branch 'upstream' into feature/security_checks