clears message entry after enter press
changes socket to live