Fixed GET header, added Debug functions