Refactor packet signature formatting for logging into functions
Fix variable naming scheme in base58_encode function
Fix reset to default value for WebSocket port in config parser
Add missing return for invalid listen address in config parser
Add missing output of WebSocket log category level option in config parser
Unify variable naming
Move array_destroy call to the correct place in network_init

array_destroy must not be called if array_create failed.
Unify format strings for config parser error messages
Centralize config default values in one place
Remove manually NUL-terminating the buffer after snprintf

snprintf does this already.
Rename the non-WebSocket port to "plain port"

Also update config file and manpages.
websocket: Fix initialization of line and key

Also fix typo.
Prefer FOSIX function name for stricmp
Adapt strcasestr to the common style of the code base