socketShutdown closes the output and input streams without closing the socket. I believe it's meant for fd "sharing" in the JVM. We should probably emulate this behavior if only for good measure.