Adjusting the listing behavior strictly following the protocol docs

Little fix that makes html listing work again after the \0 disappeared from the response