twogtp: fix a pass count bug
gtp: empty response handling in ConnectedEngine.Dispatch
core: recognize pass and resign as legal moves