add default for empty value to asNum(), and use a value of 1 for all thread settings in auth
Merge pull request #1518 from mind04/receiver-threads

add default for empty value to asNum(), and use a value of 1 for all thr...