ProcessingMessage: handle nulls, add methods, test

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>