Implement MODE command parser