remove unneeded type from declaration
give client.New() an error return
rip out all the signature stuff (for now)
check all read/write return values
update for new return codes