fixed NSRangeException in RTMPClient class