Minor WSS4J optimisations when sending no security header