Added support for setting an InputStream directly instead of letting the ServerRequest generating one.