Token Bucket algorithm implementation on Go for limiting network bandwidth