Security mechanisms in real time communication