Move signing code to Serialize function

This will sign every outgoing message