Modified ping server to stop the connection in the case that the ping fails due to a 401 or a 403 response.

- This involved adding a 3 new error messages to make everything consistent.

#2360
Added tests to verify that 401 and 403 status code responses from the server on pings will stop the connection.

- This involved creating a StatusCodeConnection that will change the response status code based on a query string variable AND will respond with a specified status code.

#2360
Addressed code review comments.

- Fixed error messages
- Formatted ping server error lines to be more readable.