A Go client, rewrite of the node client