add parse_io method for handling epubs from io streams