Fixes StandaloneEndpoint inheritance bug.

Previous fix changed RawserverEndpoint to correctly close the socket
by the Rawserver.  This fix made StandaloneEndpoint also attempt to
close the socket by the Rawserver, which didn't exist.