Improve OFSocketObserver API.