bugfix and update readme (wire protocol)