Adding support for rtmp publish protection