Fix URI parsing bug in beanstream response parsing