Re-add client capabilities
Port unmerged bits from #171 (support connection.blocked)