Fix a logic error in pbs_original_connect(). If no error was read from the socket after EINPROGRESS was received on the connect, we would proceed as though connect had succeeded, which it hasn't. We should retry in this instance. Also, use the function we have to read the error from the socket and don't duplicate the code.
Undo the changes to the protocol for authenticating the user request. Make it so that pbs_server obtains the address from the connection from trqauthd - the incoming connection for the authenticate user request. Also, add a safety check for multi-homed hosts that compares the full host name.