delete undefined properties from http config params