minor cleanings

the pure-perl client is now quite behind and needs to be updated to
completely support the actual protocol