Support simple handshake processes using magic number