Implement UCI command parsing