xhtml request on socket open replaced by socket message, and changed program to use socket list instead, seems like a hack :( but got rid of the error when not all the entities drawn were being sent to all the sockets