config: Don't accept an empty string as vaild integer value
config: Remove unused parameter from config_error call
config: Handle strdup errors
config: Port 0 is invalid
config: Report to log if there were errors