Divert socket example