add onrefuse event on channel + fix bug when being refused by the server