joyent/node — pull request #5250 by isaacs (2013-04-08 15:47:29+00:00)
Title: http: Support write(data, 'hex')

We were assuming that any string can be concatenated safely to
CRLF. However, for hex, base64, or binary encoded writes, this
is not the case, and results in sending the incorrect response.

An unusual edge case, but certainly a bug.