Test connection reuse.
Allow stream reuse when InputStream has been disposed.
If InputStream is disposed FlushInput now sets it to null so a new one can be created.
Merge pull request #1185 from esdrubal/http-reuse

Allow stream reuse when InputStream has been disposed.