fix #2 - Only set request headers if their value is "defined"