New class invokation embedding an invoke command

The socket classes can read/write messages as strings with length
protocol (rather than data with unknown size)