http: Don't send empty, null or undefined header to server

if client sets any header null or undefined or empty string
  don't send that header to server. fixes issue #7305