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

The commit that didn't make it. Not a big deal.