Make sure to fully read any varint, fixes #3