public function createStream($body = null)
	{
		if ( ! $body instanceof StreamInterface)
		{
			if (is_resource($body))
			{
				$body = new Stream($body);
			}
			else
			{
				$stream = new Stream('php://temp', 'rb+');
				
				if (null !== $body)
				{
					$stream->write((string) $body);
				}
				
				$body = $stream;
			}
		}
		
		$body->rewind();
		
		return $body;
	}