SOAP Security in 6.5

Has anyone implemented SOAP Security in IS 6.5 using a custom SOAP handler? Looking through the SOAP Guide it seems this should be possible. I have an urgent need to use SOAP Security and upgrading to 7.1 is not possible in the timeframe required.

If anyone has done it and can share pointers, code, samples etc please respond.

Kind regards