add the socket+fsm stateMachine skecth code under 00.framework