[Java]: Added support for decoding message headers on the fly.
Merge remote-tracking branch 'origin/master'