raw version of chathandler (missing acquisition of local ip and use of jane)