socksproxy example use Promise instead of CallbackNotifier.