Feature/parameter consitancy

As brought up on the zmq mailing list the parameters where inconstant with if they used references or not and a number unnecessarily used const ref which limits the compiler in its optimisation options.

Also fixes for translation of floating point values for differing endian systems.