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.
Merge pull request #44 from boudewijn-tribler/bugfixes

Fixes StandaloneEndpoint inheritance bug.