#150, #151 and other security improvements
Merge branch 'issue150-security-fixes'
bump to 1.2.7.1