return false on encoding error in keepalive match. Add rescue block to stream processor to protect from encoding failures