Fix 'key' calculation in server replies.