added audio, video, image and iframe handling. Message goes to server first all the time for processing