framer: fix array length, assuming user-agent is below 0xfd in length.