Stateful programmatic web browsing in Go