Introduce the HTTP_Encode() and HTTP_Decode() functions which pack
a http response into bytestring.