Add Encoding Logic for First Command Request (with test).