Added init message to websockets

#2637