close socket
remove comment
rename net config
dan help
a bit better
add public_key_type and test