Fixed problem where submitting jobs rapidly causes communication

failures and jobs do not submit. Also fixed a problem where
the NOPRIVPORT setting was getting ignored when allocating
ports on sockets to communicate with the server. TRQ-1573