Close connection if authentication failed
Close connection if authentication failed

libcurl and some proxy application will keep sending authentication in
same connection if auth failed which is not supported.

fixes #583

ginuerzh/gost