more handling of string in headers

Handle key or value as strings in requests and convert it as binary.