Fixed problem where WSSE header was expecting a binary SHA1. Also simplified SHA encoding.