2569 - Modified the ping server to no longer special case websockets and to use the connection.url.

- Also added a test to verify the fix.

#2569