ws: Write size as big-endian always
ws: Write size as big-endian always

I was just re-reviewing this code, and while I didn't actually hit
this problem, the way we write the size as host endianness would break
having the mgmt node be x86_64 and a target be ppc.

The simple fix (and this is the same as ext{2,3,4} do) is always use
big endian.

Stef: Part of this was committed during work on #153, and Cockpit broke
because the other side in dbus-server.c had not yet been changed. This
commit brings in the remaining bits.

Closes #100

Signed-off-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

cockpituous/cockpit,Scribery/cockpit,FireDrunk/cockpit,Scribery/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,jscotka/cockpit,petervo/cockpit,larsu/cockpit,xhad/cockpit,petervo/cockpit,andreasn/cockpit,vbatts/cockpit,kkaempf/cockpit,fridex/cockpit,sub-mod/cockpit,larsu/cockpit,firebitsbr/cockpit,harishanand95/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,Scribery/cockpit,martinpitt/cockpit,nmav/cockpit,larskarlitski/cockpit,denysvitali/cockpit,vbatts/cockpit,jscotka/cockpit,haiyangd/cockpit_view,xhad/cockpit,netzvieh/cockpit,Scribery/cockpit,vbatts/cockpit,sgallagher/cockpit,darioajr/cockpit,netzvieh/cockpit,matobet/cockpit,arilivigni/cockpit,mareklibra/cockpit,jscotka/cockpit,larskarlitski/cockpit,Thermionix/cockpit,netzvieh/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,michalskrivanek/cockpit,larsu/cockpit,SotolitoLabs/cockpit,vbatts/cockpit,moraleslazaro/cockpit,arilivigni/cockpit,garrett/cockpit,garrett/cockpit,FireDrunk/cockpit,fridex/cockpit,sgallagher/cockpit,arilivigni/cockpit,mvollmer/cockpit,harishanand95/cockpit,sub-mod/cockpit,vanloswang/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,sub-mod/cockpit,vanloswang/cockpit,firebitsbr/cockpit,arilivigni/cockpit,xhad/cockpit,stefwalter/cockpit,dperpeet/cockpit,sgallagher/cockpit,jscotka/cockpit,denysvitali/cockpit,SotolitoLabs/cockpit,darioajr/cockpit,denysvitali/cockpit,garrett/cockpit,moolitayer/cockpit,firebitsbr/cockpit,andreasn/cockpit,dperpeet/cockpit,stefwalter/cockpit,maxamillion/cockpit,fridex/cockpit,cockpituous/cockpit,larsu/cockpit,kkaempf/cockpit,mvollmer/cockpit,xhad/cockpit,martinpitt/cockpit,FireDrunk/cockpit,deryni/cockpit,vbatts/cockpit,dperpeet/cockpit,matobet/cockpit,cockpituous/cockpit,martinpitt/cockpit,deryni/cockpit,Scribery/cockpit,stefwalter/cockpit,xhad/cockpit,sub-mod/cockpit,petervo/cockpit,vanloswang/cockpit,larskarlitski/cockpit,netzvieh/cockpit,matobet/cockpit,harishanand95/cockpit,deryni/cockpit,andreasn/cockpit,martinpitt/cockpit,matobet/cockpit,mareklibra/cockpit,kkaempf/cockpit,garrett/cockpit,mvollmer/cockpit,cockpituous/cockpit,moolitayer/cockpit,cockpituous/cockpit,arilivigni/cockpit,denysvitali/cockpit,vanloswang/cockpit,maxamillion/cockpit,evol262/cockpit,zigitax/cockpit,dperpeet/cockpit,harishanand95/cockpit,haiyangd/cockpit_view,haiyangd/cockpit_view,fridex/cockpit,dperpeet/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,fridex/cockpit,cockpit-project/cockpit,FireDrunk/cockpit,moolitayer/cockpit,kkaempf/cockpit,petervo/cockpit,cockpit-project/cockpit,andreasn/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,darioajr/cockpit,mareklibra/cockpit,Thermionix/cockpit,Thermionix/cockpit,Thermionix/cockpit,arilivigni/cockpit,jscotka/cockpit,harishanand95/cockpit,larskarlitski/cockpit,darioajr/cockpit,haiyangd/cockpit_view,zigitax/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,larskarlitski/cockpit,andreasn/cockpit,sgallagher/cockpit,deryni/cockpit,netzvieh/cockpit,Armstrong1992/cockpit,Scribery/cockpit,mareklibra/cockpit,stefwalter/cockpit,martinpitt/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,Armstrong1992/cockpit,cockpituous/cockpit,zigitax/cockpit,cockpit-project/cockpit,firebitsbr/cockpit,darioajr/cockpit,FireDrunk/cockpit,evol262/cockpit,evol262/cockpit,moolitayer/cockpit,haiyangd/cockpit_view,netzvieh/cockpit,mareklibra/cockpit,mvollmer/cockpit,zigitax/cockpit,andreasn/cockpit,nmav/cockpit,Armstrong1992/cockpit,Armstrong1992/cockpit,deryni/cockpit,deryni/cockpit,petervo/cockpit,vanloswang/cockpit,evol262/cockpit,Thermionix/cockpit,xhad/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,Armstrong1992/cockpit,jscotka/cockpit,michalskrivanek/cockpit,larsu/cockpit,dperpeet/cockpit,evol262/cockpit,arilivigni/cockpit,garrett/cockpit,sgallagher/cockpit,mvollmer/cockpit,maxamillion/cockpit,Thermionix/cockpit,harishanand95/cockpit,fridex/cockpit,vanloswang/cockpit,deryni/cockpit,denysvitali/cockpit,nmav/cockpit,sub-mod/cockpit,larsu/cockpit,cockpit-project/cockpit,dperpeet/cockpit,nmav/cockpit,stefwalter/cockpit,vbatts/cockpit,zigitax/cockpit,petervo/cockpit,matobet/cockpit,nmav/cockpit,moolitayer/cockpit,maxamillion/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,maxamillion/cockpit,xhad/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,evol262/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,andreasn/cockpit,petervo/cockpit,Scribery/cockpit,firebitsbr/cockpit,vanloswang/cockpit,matobet/cockpit,kkaempf/cockpit,moraleslazaro/cockpit