[gssproxy] 03/10: Add a helper function to pack options