use current domain as websocket address
fix bug when add nick to userlist