added chatserver.py
working on javascript client