add optional verification code
fix error handling
optionally add a default network

This might not be user friendly or widely used, but is very much needed
by me and maybe other ZNC hosts.