Returning length of response in octets instead of chars at @deflexor's suggestion.