Revert "delete undefined properties from http config params"

This reverts commit f52b94743e6539bf8088e773310359762b3d9cb5.