Add secure option
Add test
Merge pull request #5 from tohae/secure

Add secure option