Fix bug in memory-based HTTP data content initialization with input stream, add test.