Tokenising http decoder for golang