fixes for polymer 0.5.1
refactor what is send on ws client connect out from clients