FIREBREATH-236 Using stream->getLength()

Using FB::BrowserStream->getLength() instead of custom header parsing
function.