new-message: emit if socket exists