Feature/message bytes

@DWvanGeest please review.
You could just return `messageBytes`, but I'm not sure it's that useful.