Polymer element for web sockets