MdeModulePkg:DxeHttpLib: Add checks in HttpGenRequestMessage API
MdeModulePkg:DxeHttpLib: Add checks in HttpGenRequestMessage API

HttpGenRequestMessage assumes that HTTP message would always
contain a request-line, headers and an optional message body.
However, subsequent to a HTTP PUT/POST request, HTTP requests
would contain just the message body. This patch supports
creation of such request messages with additional checks.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde, Nagaraj P <1a8707f9a9e9fa883c77999d89b885ef97d6a2fb@hpe.com>
Reviewed-By: Wu Jiaxin <91f509c31e98a6df13950454fe51aea543223eaa@intel.com>
Reviewed-by: Fu Siyuan <eef549df2036636f79f66102b4e2dc444721df8f@intel.com>

MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2