disconnect by server, propagate accept event

disconnect by server: user can force disconnect of client
accept event: user receive accept event to make some actions on it. e.g:
timeout to disconnect client