Trim variable names

Fixes issue where space in variable name before = the space becomes part of the variable name.

example
```
allow-2136-from = 0.0.0.0/0
May 04 21:13:09 Fatal error: Trying to set unknown parameter 'allow-2136-from '
```