add stub code for bug #180, check complex handshake.