Add support for reading rdb from stream and handling extra checksum bytes at the end.
Fixed copy paste typo