Fix missing net/http require
Fix only buffer remainer being processed
Don't include 's when parsing metadata