Can you use the same return code here and in stateful proxy (l.2415). I don't mind which one, so long as it's consistent. 
(While you're making this change, can you update the stateful proxy log to match the icscf proxy one?).