Added ability to get size of unprocessed data of message.