Add onStartFailed event to SocketAcceptorEvents interface, and add
related changes.