Implement emit message

Emit message to channel, rooms and namespace