Binary return value support

The set of types the driver asks for in binary format is currently hard
coded.

cc #7, #14