ADDED load key store and certificate from input stream
Merge pull request #20 from roamingthings/master

Load key store and certificate from an InputStream