Add prepareSecure method
Merge pull request #9 from freedomjs/dborkan-preparesecure

Add prepareSecure method