java/msg: Small changes, the high level client works well.