add security attribute to support multiple protocols
Merge pull request #9 from alexism/master

support other security protocols