created HTTPStateMachine instead of using StateMachine and initializing it