fix for issue 201

- wrap the request so 'getInputStream()' can be called multiple times

Signed-off-by: Jae Gangemi <jgangemi@gmail.com>