Use Promise instead of CallbackNotifier
remove unused interface
fix checkstyle
Merge branch 'feature/socksproxy-use-promise' into develop