Added working chat protocol with websockets and LDAP