State machine support for handling option negotiations