Add message encoding for HTTP messages.