Fix Go client can't unmarshal error type issue and make it support gzip decode