Use shutdownInput() and shutdownOutput() for TcpURLStreamHandlerSpi