Changed responseManager to read bytes up to header