Basic inspecting_client and tests

Perhaps document the bit fields.