Multiple references and WS-Security Style Id

Added some features that i have seen some use for. 

Any comments or criticism is appreciated.