Hi Esteban Gutierrez,
Thanks for addressing my verbal comments.
I found that there are other places that might need similar handling, like
OutputStream unbufProxyOut = NetUtils.getOutputStream(proxySock,
InputStream unbufProxyIn = NetUtils.getInputStream(proxySock);
OutputStream unbufMirrorOut = NetUtils.getOutputStream(mirrorSock,
InputStream unbufMirrorIn = NetUtils.getInputStream(mirrorSock);
OutputStream unbufOut = NetUtils.getOutputStream(sock, writeTimeout);
InputStream unbufIn = NetUtils.getInputStream(sock);
And some other places.
I know that Esteban Gutierrez has verified the uploaded patch solve one real issue, so maybe it's ok for us to address the remaining places in separate jiras.
What do you think Colin P. McCabe?